package com.biz.primus.model.promotion.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 加价换购信息Vo
 *
 * @author david-liu
 */
@ApiModel(value = "加价换购信息")
@Getter
@Setter
public class RedemptionProductVo implements Serializable {
    private static final long serialVersionUID = -5268933077865322140L;

    @ApiModelProperty(value = "加价信息")
    private Integer raisePrice;

    @ApiModelProperty(value = "换购商品ID集合")
    private List<Long> redemptionProductIds;

    @ApiModelProperty(value = "用户一次最多换购几件商品")
    private Integer userOnceRedemptionQuantity;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
